import 'package:flutter/material.dart';
import 'package:terminal_flutter_demo/widgets/my_box.dart';
import 'package:terminal_flutter_demo/widgets/my_button.dart';
import 'package:terminal_flutter_demo/widgets/my_image.dart';
import 'package:terminal_flutter_demo/font/CustomIcon.dart';

class BaseWidget extends StatelessWidget {
  const BaseWidget({super.key});

  @override
  Widget build(BuildContext context) {
    return const Column(
      children: [
        MyBox(),
        MyButton(),
        Row(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            MyImage.url(
                'https://cdn-file-ssl-wan.ludashi.com/wan/newswf/dlgglm/42dl.gif'),
            MyCircleImage.url(
                'https://cdn-file-ssl-wan.ludashi.com/wan/newswf/dlgglm/42dl.gif'),
            ClipOvalImage.url(
                'https://cdn-file-ssl-wan.ludashi.com/wan/newswf/dlgglm/42dl.gif'),
          ],
        ),
        LocalImage.url('images/2.0x/ic_nav_discover_actived.png'),
        Row(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Icon(
              Icons.home,
              size: 40,
              color: Colors.red,
            ),
            Icon(
              CustomIcon.weixin,
              size: 60,
              color: Colors.green,
            ),
            Icon(
              CustomIcon.gouwuchekong,
              size: 60,
              color: Colors.red,
            ),
            Icon(
              CustomIcon.tushu,
              size: 60,
              color: Colors.black,
            ),
          ],
        ),
      ],
    );
  }
}
